﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WillBe.Attributes;
using System.Diagnostics;

namespace WillBe.Framework.DefaultImplementations
{
    public class WillBeAuditedAction : WillBeActionBase<WillBeAuditedAttribute>
    {
        public override void Do()
        {
            Trace.WriteLine(string.Format("audited call to method : {0}", this.Request.MethodName));
            Action.Invoke();
        }
    }
}
